package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.TbDpConfigMapper;
import com.ruoyi.system.domain.TbDpConfig;
import com.ruoyi.system.service.ITbDpConfigService;

/**
 * Ue配置Service业务层处理
 * 
 * @author 朱欢乐
 * @date 2025-10-25
 */
@Service
public class TbDpConfigServiceImpl implements ITbDpConfigService 
{
    @Autowired
    private TbDpConfigMapper tbDpConfigMapper;

    /**
     * 查询Ue配置
     * 
     * @param id Ue配置主键
     * @return Ue配置
     */
    @Override
    public TbDpConfig selectTbDpConfigById(Long id)
    {
        return tbDpConfigMapper.selectTbDpConfigById(id);
    }

    /**
     * 查询Ue配置列表
     * 
     * @param tbDpConfig Ue配置
     * @return Ue配置
     */
    @Override
    public List<TbDpConfig> selectTbDpConfigList(TbDpConfig tbDpConfig)
    {
        return tbDpConfigMapper.selectTbDpConfigList(tbDpConfig);
    }

    /**
     * 新增Ue配置
     * 
     * @param tbDpConfig Ue配置
     * @return 结果
     */
    @Override
    public int insertTbDpConfig(TbDpConfig tbDpConfig)
    {
        return tbDpConfigMapper.insertTbDpConfig(tbDpConfig);
    }

    /**
     * 修改Ue配置
     * 
     * @param tbDpConfig Ue配置
     * @return 结果
     */
    @Override
    public int updateTbDpConfig(TbDpConfig tbDpConfig)
    {
        return tbDpConfigMapper.updateTbDpConfig(tbDpConfig);
    }

    /**
     * 批量删除Ue配置
     * 
     * @param ids 需要删除的Ue配置主键
     * @return 结果
     */
    @Override
    public int deleteTbDpConfigByIds(Long[] ids)
    {
        return tbDpConfigMapper.deleteTbDpConfigByIds(ids);
    }

    /**
     * 删除Ue配置信息
     * 
     * @param id Ue配置主键
     * @return 结果
     */
    @Override
    public int deleteTbDpConfigById(Long id)
    {
        return tbDpConfigMapper.deleteTbDpConfigById(id);
    }
}
